home *** CD-ROM | disk | FTP | other *** search
- # This is a script file to display Roadmap lessons. Save it to your disk
- # by entetering "e" if you are using Pine. When prompted for a name enter
- # roadmap. Exit your mail program and edit out the mail information
- # from this file. From the command line enter:
- # acy1% pico roadmap
- # When the file is displayed in the pico editor, press Ctrl and while
- # holding it down press k, for each line you want to delete. When
- # finished deleting lines, exit pico saving the file. Press Ctrl and
- # while holding it down press x the exit the editor. It will ask if you
- # want to save the file and you will press y. It will then ask if you
- # want to save it as roadmap and you can just press the enter (return)
- # key. One last step. You must make the file executable. At the prompt
- # enter:
- # acy1% chmod +x roadmap
- # That's it, from that point on just enter:
- # acy1% roadmap course-name
- # replacing course-name with the name of the course you want. As an
- # example, to get the index of the course, enter:
- # acy% roadmap map.idx
- #
- # ------------------------- cut here ----------------------------------
- # Script "roadmap" is used to display a lesson from the Roadmap workshop
- # on your terminal.
- #
- # The syntax is:
- # roadmap specific-lesson
- # replace specific-lesson with the specific lesson you would like to display.
- # as an example, to obtain the index for the course enter:
- # roadmap map.idx
- #
- # test to see if there is a passed parameter
- #
- if test -z "$1"
- then # There is no passed parameter
- echo " "
- echo "The syntax for this script is:"
- echo " roadmap <which-lesson>"
- echo "replacing <which-lesson> (without the <>) with"
- echo "the specific course you want to display. If you would"
- echo "like to see the index, enter:"
- echo " "
- echo " roadmap map.idx"
- echo
- else # There is a passed parameter
- # Display the file
- more /homeb/sjiug/map/"$1"
- fi # end if
-
-
-